package com.cbw.blog.service;

import com.cbw.blog.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baomidou
 * @since 2022-09-05
 */
public interface IArticleService extends IService<Article> {
    public List<Article> getHeatArticles();

    public Article selectArticleWithId(Integer id);

    public void pulish(Article article);

    void updateArticleWithId(Article article);
}
